use serde::{Deserialize, Serialize};

#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct SysRolePageReq {
    pub page_no: Option<i64>,
    pub page_size: Option<i64>,
    pub role_name: Option<String>,
    pub state: Option<i64>,
}

#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct AddRoleReq {
    pub role_name: Option<String>,
    pub parent_id: Option<i64>,
    pub org_id: Option<i64>,
    pub menus: Option<Vec<i64>>,
}
